package com.run.guifeng.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

@Data
@TableName("guifeng_mall_user_address")
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class Address extends BaseEntity{
    @TableId(value="id",type= IdType.AUTO)
    private Integer id;

    @TableField(value="user_id",exist=true)
    private Integer userId;

    @TableField(value="address",exist=true)
    private String address;

    @TableField(value="receiver_name",exist=true)
    private String receiverName;

    @TableField(value="receiver_phone",exist=true)
    private String receiverPhone;

}
